package com.hongyuan.sellcoach.ui.member.view_mode;

import android.app.Application;

import androidx.annotation.NonNull;
import androidx.databinding.ObservableArrayList;
import androidx.databinding.ObservableField;
import androidx.databinding.ObservableList;

import com.hongyuan.mvvmhabitx.binding.command.BindingCommand;
import com.hongyuan.sellcoach.R;
import com.hongyuan.sellcoach.base.CustomViewModel;
import com.hongyuan.sellcoach.data.Constants;
import com.hongyuan.sellcoach.data.MyRepository;
import com.hongyuan.sellcoach.ui.member.beans.MemberInfoBeans;
import com.hongyuan.sellcoach.ui.member.beans.MembersBean;

import java.util.List;

import me.tatarka.bindingcollectionadapter2.BR;
import me.tatarka.bindingcollectionadapter2.ItemBinding;

public class MemberInformationViewModel extends CustomViewModel<MyRepository> {

    //用户名的绑定
    public ObservableField<String> userName = new ObservableField<>("");
    //用户名的绑定
    public ObservableField<MemberInfoBeans.InfoBean> info = new ObservableField<>();

    public MemberInformationViewModel(@NonNull Application application, MyRepository model) {
        super(application, model);
    }


    @Override
    protected void returnData(int code, Object dataBean) {
        super.returnData(code, dataBean);

        if(code == Constants.GET_COACH_MEMBERS){

        }

    }
}
